package org.xlx.xlx_oa.role_user.domain.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.xlx.xlx_oa.common.BaseEntityDto;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
public class AdmUserDto extends BaseEntityDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "头像")
    private String icon;

    @ApiModelProperty(value = "部门id")
    private Long departmentId;

    @ApiModelProperty(value = "部门title")
    private String departmentTitle;

    @ApiModelProperty(value = "岗位id")
    private Long positionId;

    @ApiModelProperty(value = "岗位title")
    private String positionTitle;

    @ApiModelProperty(value = "名")
    private String firstName;

    @ApiModelProperty(value = "中间名")
    private String middleName;

    @ApiModelProperty(value = "姓")
    private String lastName;

    @ApiModelProperty(value = "邮箱")
    private String mail;

    @ApiModelProperty(value = "验证邮箱")
    private String verifiedMail;

    @ApiModelProperty(value = "手机号码")
    private String mobile;

    @ApiModelProperty(value = "电话号码")
    private String telNumber;

    @ApiModelProperty(value = "其他号码")
    private String extNumber;

    @ApiModelProperty(value = "出生日期")
    private LocalDateTime birthDate;

    @ApiModelProperty(value = "入职时间")
    private LocalDateTime hireDate;

    @ApiModelProperty(value = "离职时间")
    private LocalDateTime fireDate;

    @ApiModelProperty(value = "是否在职")
    private Boolean isHire;

    @ApiModelProperty(value = "户籍地址")
    private String address;

    @ApiModelProperty(value = "性别")
    private Boolean gender;

    @ApiModelProperty(value = "紧急联系人号码")
    private String contact;

    @ApiModelProperty(value = "证件号")
    private String certificateId;

    @ApiModelProperty(value = "行政级别")
    private Integer level;

    @ApiModelProperty(value = "token")
    private String token;
}